.form
  = form_for @term do |f|

    - if @term.errors.present?
      %ul.errors
        - @term.errors.full_messages.each do |msg|
          %li= msg

    .left= f.label :name
    .right= f.text_field :name

    .clearfix

    .left= f.label :value
    .right= f.text_area :value

    .clearfix

    .left &nbsp;
    .right.actions
      = f.submit t('submit'), :class =>"btn primary small"
      = link_to t('back'), :back, :class => "btn small"

    .clearfix